﻿@model Lion.WeiXin.Core.Models.CmsMenuModel
@{
    ViewBag.Title = "Show";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section ChildPageJs {
   <script src="/Scripts/App_Scripts/CmsMenuShow.js" type="text/javascript"></script>   
}
<form id="fmSave" name="fmSave" >
<div class="titstyle01 clearfix">
        <strong>关键字</strong>
    </div>
    <div class="boxstyle01 clearfix pt25 pb10 pl10">
        <table id="tbl">
             <tr >
                <td>
                    父级编码：
                </td>
                <td>
                    <input type="hidden" id="PID" name="PID" class="slcw120s f_l m5" />
                    <input type="text" id="PCode" name="PCode" class="slcw120s f_l m5" readonly="true" value="@ViewBag.ParentCode" />
                </td>
            </tr>   
            <tr >
                <td>
                    <span class="cf60">*</span>@Html.Label("Code", "编码")：
                </td>
                <td>  
                    <input type="hidden" id="AID" name="AID" class="slcw120s f_l m5" value="@Model.AID"  />                 
                    <input type="text" id="Code" name="Code" value="@Model.Code" class="slcw120s f_l m5" readonly="true"  />               
                </td>
            </tr>           
            <tr align="left">
                <th>
                    <span class="cf60">*</span>@Html.Label("Title","标题")：
                </th>
                <td>
                    @Html.TextBoxFor(m => m.Title, new { @class="slcw120s f_l m5"})
                </td>
            </tr>            
            <tr align="left">
                <th>
                    <span class="cf60">*</span>连接：
                </th>
                <td>
                    <input type="text" id="Url" name="Url" class="slcw120s f_l m5" value="@Model.Url"  />                    
                </td>
            </tr> 
            <tr align="left">
                <th>
                    排序：
                </th>
                <td>
                    <input type="text" id="Sort" name="Sort" class="slcw120s f_l m5" value="@Model.Sort"  />                   
                </td>
            </tr>  
             <tr align="left">
                <th>
                    左侧菜单显示：
                </th>
                <td>
                    @if(Model.IsShow==1)
                    {
                      <label><input type="radio" id="rdIsShow" checked="checked" value="1"  name="IsShow" />显示</label>
                      <label><input type="radio" id="rdIsNotShow" name="IsShow" value="0" />不显示</label> 
                    }
                    else
                    {
                      <label><input type="radio" id="rdIsShow"    name="IsShow" value="1" />显示</label>
                      <label><input type="radio" id="rdIsNotShow" checked="checked" value="0" name="IsShow" />不显示</label> 
                    }    
                </td>
            </tr>     
            <tr>
                <td colspan="2" align="center">
                    <input type="button" value="确 定" class="btn02 f_l m15" id="btnSave" />
                    <input type="button" class="btn02 f_l m15" id="btnCancel" value="取 消" />
                </td>
            </tr>
        </table>
    </div>
</form>
